from abilities.base import *
import random

class Outbreak(DoT):
    def __init__(self,player):
        DoT.__init__(self,player)
        self.Name = "outbreak"
    def calculateDamage(self,otherPlayer):
        self.Dmg = ((random.randint(20,30) + self.Player.Int) / 3.5)
        return self.Dmg
    def setCooldown(self):
        self.Cooldown=0
    def statChange(self,otherPlayer):
        return
    def removeStatChange(self,otherPlayer):
        return
    def upfrontDamage(self,otherPlayer):
        return 0
    def setTime(self):
        return 4
    
class Curse(DoT):
    def __init__(self,player):
        DoT.__init__(self,player)
        self.Name = "curse"
    def calculateDamage(self,otherPlayer):
        self.Dmg = ((random.randint(10,15) + self.Player.Int) / 5)
        return self.Dmg
    def setCooldown(self):
        self.Cooldown=0
    def statChange(self,otherPlayer):
        return
    def removeStatChange(self,otherPlayer):
        return
    def upfrontDamage(self,otherPlayer):
        return
    def setTime(self):
        return 8
    
class FelBolt(Ability):
    def __init__(self,player):
        Ability.__init__(self,player)
        self.Name = "fel bolt"
    def calculateDamage(self,otherPlayer):
        self.Dmg = (random.randint(10,15) + ((self.Int * 3) / 3.75))
        return self.Dmg
    def setCooldown(self):
        self.Cooldown=0

